package com.example.lemonservice.entitiy.dto;

import com.example.lemonservice.enums.DeviceStatusEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

@Data
public class UpdateDeviceDataDTO {
    @NotNull(message = "id不能为空")
    @ApiModelProperty(value = "id")
    private Long id;
    @ApiModelProperty(value = "status")
    private DeviceStatusEnum status;
    @ApiModelProperty(value = "value")
    private BigDecimal value;
}
